import config from '@/config'
import http from '@/utils/request'

export default {
    list: {
        url: `${config.API_URL}/cityRecord/list`,
        name: '权限查询列表',
        post: async function (params) {
            // eslint-disable-next-line no-return-await
            return await http.post(this.url, params)
        }
    },
    exportExcel: {
        url: `${config.API_URL}/cityRecord/exportExcel`,
        name: '导出接口',
        post: async function (params) {
            // eslint-disable-next-line no-return-await
            return await http.post(this.url, params)
        }
    }
}
